package com.yeyks.hotel.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HotelInfoHotelSearchHotelInfoParam {

    @ApiModelProperty(value = "用户id",hidden = true)
    private Integer userId;
    @ApiModelProperty(value = "酒店id")
    @NotNull(message = "酒店id不能为空")
    private String hotelId;
    @ApiModelProperty(value = "是否是甄选,2 b2c,3 jip")
    @NotNull(message = "vip类型不能为空")
    private Integer vipFlag = 0;
    @ApiModelProperty(value = "开始时间")
    @NotNull(message = "开始时间不能为空")
    private Date startDate;
    @ApiModelProperty(value = "截止时间")
    @NotNull(message = "截止时间不能为空")
    private Date endDate;
    @ApiModelProperty("时间戳")
    private Long timestamp;

    @ApiModelProperty(value = "来源,c2b用")
    private String sourceType;

}
